package guowei.guliauth.feign;

import guowei.common.utils.R;
import guowei.guliauth.vo.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("guliUser")
public interface UserFeign {
    @PostMapping("user/member/registry")
    public R regMem(@RequestBody RegMemVo regMemVo);

    @PostMapping("user/member/login")
    public R LoginUser(@RequestBody LoginVo vo);

    @PostMapping("user/member/weibo/user/save")
    public R saveWeiboUser(@RequestBody TokenOthers tokenOthers);
}
